package org.lanqiao.ssm.common.core.service;

import java.io.Serializable;

import com.github.pagehelper.PageInfo;


public interface BaseServiceI<E, ID extends Serializable> {
	
	public	int deleteByPrimaryKey(ID id);

	public	int insert(E record);

	public	int insertSelective(E record);

	public	E selectByPrimaryKey(ID id);

	public int updateByPrimaryKeySelective(E record);

	public int updateByPrimaryKey(E record);

	public PageInfo<E> findObjectsByPage(E record,int page,int pageShow);
}
